

import { createApp } from 'vue'
import { createPinia } from 'pinia'
// 1. 引入你需要的组件

import { Button, NavBar, Icon, Tab, Tabs, Swipe, SwipeItem } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';
import App from './App.vue'
import router from './router'
import './assets/main.css'
// 引入英文语言包
// import enUS from 'vant/es/locale/lang/en-US';
// import arSA from 'vant/es/locale/lang/ar-SA';

// Locale.use('ar-SA', arSA);
const app = createApp(App)

app.use(createPinia()).use(router).use(Button).use(NavBar).use(Icon).use(Tab).use(Tabs).use(Swipe).use(SwipeItem)

app.mixin({
    data() {
        return {
            baseColor: 'red'
        }
    }
})

app.mount('#app')



